@oskar
format: val => date.formatDate(val, ‘DD-MM-YYYY’) is correct
you codepen example is not working… but looks like you want to filter the data array using the date selected by user - yes you can just do that in the event listener
Posts made by cashmisa
-
RE: Format date in q-table and q-table refresh after event?
-
RE: Format date in q-table and q-table refresh after event?
1st question is about display date received from api in specific format in qtable? If so, look into Defining the columns. e.g. You can format the date recieved with a function.
I don’t quite get the 2nd question, looks like you want to modify a specific element of an array? Would be good to have a codepen example.
Cheers
-
[v1] Qinput readonly mode disables button in after slot - intentional?
Hey guys,
To have a button at the end of a <q-input> for navigation e.g. to another page, I used to use ‘after’ attribute of q-input in the older versions. Now to achieve this, I tried using the ‘after’ slot, but when <q-input> is in readonly state, the btn is disabled (not disabled cursor but same behavior)…
https://codepen.io/cashmisa/pen/eoRjrx
Another thing is that when <q-input clearable>, clearable button shows even in readonly & disabled mode… is this intended behavior?
Thanks for your help!
Cheers,
Xiaowen