-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Form.io API 7.1.2 to 7.3.0 custom component fix #36
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Casino rewards ``- [francesdoer@gmail.com_**
const warning = await findByText(form, `Please check your answers`); | ||
expect(warning).toBeVisible(); | ||
// const warning = await findByText(form, `Please check your answers`); | ||
// expect(warning).toBeVisible(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also include ability to change all api key id's, use property lookup for logic so a user can change their payload from address1 to a1 or similar.
It is good that labels can be altered, but we should also allow low level id's as they are transmitted upstream.
hideLabel: false, | ||
disableClearIcon: false, | ||
enableManualMode: true, | ||
input: true, | ||
persistent: "client-only", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line does: validation code fires on client only, as we don't want to send data of the component to the database.
type: "hidden", | ||
}, | ||
{ | ||
label: "Mode", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mode use to be outside of the structure, now its inside.
// https://github.com/formio/formio.js/blob/master/src/utils/formUtils.js#L89-L90 | ||
schema: { ...PlsPlusAddress.schema(), tree: true }, | ||
schema: { | ||
...PlsPlusAddress.schema(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since using fieldset component, no need for tree.
Regards, |
rework PlsPlusAddress to support formio app upgrade 7.3.0
address
orcontainer
will get the issuefieldset
instead ofcontainer