Basic #
Regate.RegateForeignKey.init({
id: 'basic-example',
name: 'CategoryId',
apiUrl: 'https://jsonplaceholder.typicode.com/albums',
})
Value #
Regate.RegateForeignKey.init({
id: 'value-example',
name: 'CategoryId',
value: 10,
apiUrl: 'https://jsonplaceholder.typicode.com/albums',
})
Required #
Regate.RegateForeignKey.init({
id: 'required-example',
name: 'CategoryId',
isRequired: true,
apiUrl: 'https://jsonplaceholder.typicode.com/albums',
})