Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

oj Table - Input Text Focus

Chad BoomApr 25 2018 — edited Apr 28 2018

We use cell templates for showing input fields in tables. Since the 5.0 upgrade, I'm having to click twice to get focus to the input text. This approach is different than the cookbook as we show the input text by default. To get focus to the text box, you have to click once on the box and then an additional time to see the cursor. Any idea what would have changed to have caused this behavior?

Below are some code snippets of what we are using, let me know if there is anything else you want to see.

{"headerText": app.getUiString('HDR_SHIP_LIFE'),

            "renderer": oj.KnockoutTemplateUtils.getRenderer("cell\_ship\_life\_tmpl", true)},

<script type="text/html" id="cell_ship_life_tmpl">

\<td>

\<oj-input-text data-bind="attr:{id: 'shipLife-' + $context.row.orderDetailId, value: $context.row.shipLife}"

               class="sfi-edit-table-column" on-value-changed="{{$parent.shipLifeChangeHandler}}">\</oj-input-text>

</td>

</script>

pastedImage_0.png

Comments
Post Details
Added on Apr 25 2018
4 comments
353 views