Open koh-osug opened 9 months ago
Does using the following work?:
let orderModalUISchema = {
orderId: {"ui:options": { 'widget': 'hidden'} },
status: {"ui:options": { 'widget': 'hidden'} },
};
@heath-freenome This works for the simple fields. Thanks. For the created widget prefixing with the "ui:options"
does not work.
@koh-osug If you were to take your custom widget and register it on the form with a unique key, then perhaps you will be able to refer to it by name instead? See the documentation on how to do this
Prerequisites
What theme are you using?
other
What is your question?
It seems I have an issue with the migration from
ui:widget
toui:options
. How can this be migrated? I have looked into the migration guide but could not find any information. I get this error:I have several locations where I use "hidden" with the
ui:widget
like this:I also use the widget for custom components like this which seem to be responsible for the issue:
Interesting is, when I wrap this with a
withRouter
the error is not happening.I'm using Bootstrap 3.