rnentjes
07/23/2020, 3:20 PMBig Chungus
07/27/2020, 8:29 AMRobert Jaros
07/28/2020, 6:51 PMRobert Jaros
07/28/2020, 6:56 PMrnentjes
08/02/2020, 10:47 AMGreg Steckman
01/10/2022, 4:09 AMTim Ortel
01/12/2022, 3:33 PM2022-01-12T16:31:40.212+0100 [ERROR] [org.gradle.api.Task] Module parse failed: Unexpected token (8:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See <https://webpack.js.org/concepts#loaders>
| * found in the LICENSE file at <https://github.com/material-components/material-components-web/blob/master/LICENSE>
| */
> .mdc-touch-target-wrapper {
| display: inline;
| }
2022-01-12T16:31:40.212+0100 [ERROR] [org.gradle.api.Task]
This suggests that I am missing out on additional setup steps. What can I do?Tim Ortel
01/13/2022, 4:20 PMRohan Maity
01/16/2022, 12:41 PMMDCTextField
But is not getting evenly spread
But with core TextInput
got evenly spread
Div(
attrs = {
style {
display(DisplayStyle.Flex)
width(100.percent)
justifyContent(JustifyContent.SpaceBetween)
flexFlow(FlexDirection.Row, FlexWrap.Nowrap)
}
}
) {
val annualCtcState = remember { mutableStateOf("") }
MDCTextField(
annualCtcState.value,
{
type = MDCTextFieldCommonOpts.Type.Outlined
label = "Annual CTC"
},
{
style {
margin(8.px)
width(33.percent)
title("Annual CTC")
}
onInput {
annualCtcState.value = it.value
}
}
)
😕Big Chungus
03/15/2022, 8:08 PMrnett
07/15/2022, 6:42 AMBig Chungus
01/17/2023, 2:25 AMBig Chungus
02/10/2023, 1:46 PMBig Chungus
02/11/2023, 6:32 PMBig Chungus
03/06/2023, 8:09 AMYentaBot
03/06/2023, 8:09 AM@yentabot
You can also emoji-react to a message with ❓ or 🤖.
Feel free to give me feedback by replying to my answers in a thread or leaving emoji-reacts to my answers.Sebastien Leclerc Lavallee
03/14/2023, 4:02 PMrocketraman
03/23/2023, 8:28 PMMDCDialog
in an MVI application. I have a view model which has an open
state for the dialog. The dialog may be:
a) closed by some button press by the user, in which case the dialog is closed when it sees the open
state of the VM change to false, or
b) closed on scrim or escape, in which case I need to send an event to the VM (using the onClosed
hook seems appropriate)
The problem I have is when the dialog is closed via (a), my view model receives two inputs: the button press and the event from the onClosed
hook, which causes issues. Is there a way to trigger a callback only for the scrim/escape case?rocketraman
03/23/2023, 8:28 PMMDCDialog
in an MVI application. I have a view model which has an open
state for the dialog. The dialog may be:
a) closed by some button press by the user, in which case the dialog is closed when it sees the open
state of the VM change to false, or
b) closed on scrim or escape, in which case I need to send an event to the VM (using the onClosed
hook seems appropriate)
The problem I have is when the dialog is closed via (a), my view model receives two inputs: the button press and the event from the onClosed
hook, which causes issues. Is there a way to trigger a callback only for the scrim/escape case?Big Chungus
03/23/2023, 8:40 PMrocketraman
03/23/2023, 8:42 PMclosing
and closed
are documented as "Indicates when the dialog begins/finishes its closing animation." I'm checking the action
value received in the event right now, they don't document what that is.Big Chungus
03/23/2023, 8:43 PMrocketraman
03/23/2023, 8:45 PMBig Chungus
03/23/2023, 8:45 PMrocketraman
03/23/2023, 8:48 PMscrimClickAction
and escapeKeyAction
because the close event action is undefined
(null in Kotlin) if I close the popup through state, and `scrimClickAction`/`escapeKeyAction` (which defaults to close
) if done via the scrim/esc.Big Chungus
03/23/2023, 8:48 PMrocketraman
03/23/2023, 8:51 PMBig Chungus
03/23/2023, 8:51 PMrocketraman
03/23/2023, 8:55 PMLooks neat, btw!Thanks!