Skip to content
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

Use Filter Daterange #33

Open
fabriciofs opened this issue Oct 26, 2018 · 2 comments
Open

Use Filter Daterange #33

fabriciofs opened this issue Oct 26, 2018 · 2 comments

Comments

@fabriciofs
Copy link

Hi, would you have any examples to use the filter with daterange, or the use filter-method?

Thanks

@zollero
Copy link
Owner

zollero commented Oct 29, 2018

You wanna use filter to format the value of daterange?

@fabriciofs
Copy link
Author

No, in Form Item Attributes I created a field with the itemType property filled with daterange. However in the datatable the data is not filtered. No matter what content I put, if I fill in, it always does not return any data.

forms: [ { prop: 'date', label: 'Data', itemType: 'daterange' }, { prop: 'status', label: 'Status', itemType: 'select', options: [ { value: '', label: 'Todos' }, { value: 'Disponível', label: 'Disponível' }, { value: 'Entrega', label: 'Entrega' }, { value: 'Transferida', label: 'Transferida' }, { value: 'Finalizada', label: 'Finalizada' }, { value: 'Bloqueada', label: 'Bloqueada' } ] } ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants