Mamadou BAH

Results 10 comments of Mamadou BAH

Hi @AMBudnik , Thank for your response and for the link (I'll take a look and let you know). I know it's hard without seeing the code, but due to...

Hello, based on the doc, you can add custom actions. https://h2qutc.github.io/angular-material-components/datetimepicker Scroll to the bottom.

Hi @seerj30, it looks like there is only one action you can override (confirm action). If you want to add more functionality like delete entry, you can use something like...

Hi, it's does. The function is renamed by "ngxMatDatetimePickerFilter".

Hello @Mateusz19021996 , you can do something like this. Don't forget to update MOMENT_DATETIME_FORMAT_EN to the format you want and set the locale via the date adapter. See https://github.com/h2qutc/angular-material-components/issues/307#issuecomment-2060779585 to...

Hi @Mateusz19021996 , here how you can import it `import { NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular-material-components/moment-adapter';` I don't understand what do you mean in the second question, please can you clarify...

Hey @Mateusz19021996, I've noticed a mistake in my previous message. Instead of `DateAdapter`, please use `NgxDateAdapter`. ```typescript constructor( private ngxDateAdapter: NgxMatDateAdapter ) { this.ngxDateAdapter.setLocale(this.data?.locale || 'en'); } ``` I hope...

Hello @Mateusz19021996 sorry to hear that. It seems you might have missed something because it's working perfectly for me, I'm currently running Angular V17.3.

Hi @Mateusz19021996, I've just tested two custom formats: one based on values (single format) and another based on classes (multi format), and both worked perfectly. Please find the attached code...

Hello @Mateusz19021996, thank you for sharing the production link. It helped me a lot in identifying the issue you encountered. The problem was caused by a missing provider in the...