Skip to main content

value

Description

Optional. Controls whether the widget is in the read-only mode

Usage

readonly?: boolean;

Parameters

The property values are the following:

  • true - the read-only mode is enabled
  • false - (default) the read-only mode is disabled

Examples

Showing widget in readonly mode

import { Tasklist } from '@svar-ui/react-tasklist';
import { value } from './data.js';

export default function App() {
return <Tasklist value={value} readonly={true} />;
}