Closed Derranion closed 2 years ago
Update:
Any props that are passed from TimeInput
to TimePicker
(it is used as a dropdown content inside of the TimeInput
) are not working after build.
It was caused by this line of code in the 1.3.4
version:
const timePickerProps = computed(() => filterComponentProps(props, extractComponentProps(VaTimePicker)))
The reason behind it was in wrapping already existed computed by the second one:
Vue wasn't able to parse this properly and rolled back to default values.
I've checked it using new Vite project and new build of recently updated Vuestic (dev
branch) and it was fixed by random refactor already.
That's why it will be fixed after the new release, on-hold
till 1.4.0
just to check it in the final version.
Can we close it, @Derranion?
Yes, works as intended in 1.4.2
, tested it using Vite
build.
Vuestic-ui version: 1.3.4
Steps to reproduce: Code sandbox example.
TimeInput
thereTimeInput
Code example:
What is the expected behavior?
Filters
should apply to theTimeInput
same way as it is applied to theTimePicker
. In our case it should display only 10, 20, 30 ... minutes What is the current behavior? TimeInput filters work locally but do not work after the build using Vite or on codesandbox. (didn't test others) Other information Issue raised in our discord initially.