Skip to content

Custom widget Not able to add  #359

@Nikhil593

Description

@Nikhil593

Describe the bug
which template:

  • MaterialDesignFrameworkModule — Material Design with Angular Framework

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. I am using Angular 18 with angular material and Flex-layout and also using JsonSchemaFormModule,
    MaterialDesignFrameworkModule from 'ajsf/core' library.
    --> I am facing issue is am not able to add custom widget along with current behavior
    In Custom widget want to add description field and also want to add toggle button control wherever default value is present in schema. Make those field disabled which are having defaults and not having data.

Expected behavior
Wherever data is not present we can show user default value with disabled field
if he want to change
default value then he enable the field by toggle button and enter his own input value.
Suppose he don't want to enter default value then field must be in disabled form.
We also need to show description key as well in our UI.

Kindly help me how can resolve this issue

Screenshots
I added screenshot along this issue how expected out should be.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Log output covering before error and any error statements

Insert log hereCopy

Additional context
Add any other context about the problem here.

Detailed Description

Context

Possible Implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions