We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DateType which uses choice widget type (3 selects - year, month and day) has wrong schema when transformed by liform.
choice
Adding type:
$builder->add('dateOfBirth', DateType::class, [ 'widget' => 'choice', 'placeholder' => [ 'year' => 'Year', 'month' => 'Month', 'day' => 'Day' ], 'format' => 'yyyyMMdd', 'translation_domain' => 'booking-form' ]);
What I expect in json schema:
"dateOfBirth": { "type": "object", "title": "dateOfBirth", "properties": { "year": { "type": "number", "title": "year", "propertyOrder": 1 }, "month": { "type": "number", "title": "month", "propertyOrder": 2 }, "day": { "type": "number", "title": "day", "propertyOrder": 3 }, }, "propertyOrder": 1 }
What We've got currently which is wrong imo:
"dateOfBirth": { "type": "string", "title": "dateOfBirth", "propertyOrder": 1 }
The text was updated successfully, but these errors were encountered:
Yes, this should be fixed, I agree.
Sorry, something went wrong.
Fix in Limenius/LiformBundle@8c54258
Fix transformer that breaks compound dates and datetimes Fix #16
8c54258
No branches or pull requests
DateType which uses
choice
widget type (3 selects - year, month and day) has wrong schema when transformed by liform.Adding type:
What I expect in json schema:
What We've got currently which is wrong imo:
The text was updated successfully, but these errors were encountered: